<div id="overlay_box">
  <div>
    <h2>Message</h2>
    <p class="loading_message">
      This dialog is opened programmatically when the page
      loads. There is no need for a trigger element.
    </p>
    <p>
      <button class="close" style="display:none"></button>
    </p>
  </div>
</div>
<div id="footer">Powered by: <b>Advocate 1.0</b> by <a href="http://creatorsolutions.net" target="creator">CreatorSolutions.net</a></div>
</div>
<script language="javascript">
$('#overlay_box').hide();
var clazz_name = "<?php echo $this->router->fetch_class();?>";
var method_name = "<?php echo $this->router->fetch_method();?>";
$(document).ready(function() {
	switch(clazz_name){
		case 'user':
			menu_link = (method_name == 'file201')?'file201':'user';
			break;
        case 'myclient':
            menu_link = 'client';
            break;
		default:
			menu_link = clazz_name;
			break;

	}

	$("#" + menu_link).addClass('active');
	
});

</script>
</body>

</html>